package com.longcai.cm.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 门店服务
 * </p>
 *
 * @author LBX
 * @since 2024-07-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_service_info")
@ApiModel(value = "JaServiceInfo对象", description = "门店服务")
public class JaServiceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("父级id")
    @TableField("pid")
    private String pid;

    @ApiModelProperty("服务名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("位置")
    @TableField("type")
    private String type;

    @ApiModelProperty("图片")
    @TableField("img_url")
    private String imgUrl;

    @ApiModelProperty("服务详情")
    @TableField("content")
    private String content;

    @ApiModelProperty("排序")
    @TableField("order_no")
    private Integer orderNo;

    @ApiModelProperty("展示")
    @TableField("is_show")
    private Integer isShow;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private String createTime;

    public JaServiceInfo(String name) {
        this.name = name;
    }

    public JaServiceInfo() {
    }
}
